PRISM

Benchmark
Model:polling v.1 (CTMC)
Parameter(s)N = 18, T = 16
Property:s1_before_s2 (prob-reach)
Invocation (specific)
./fix-syntax ./prism -javamaxmem 11g -cuddmaxmem 4g -ii -e 5e-2 -heuristic speed -ddextraactionvars 100 -maxiters 1000000 polling.18.prism polling.props --property s1_before_s2 -const T=16
Execution
Walltime:39.76050043106079s
Return code:0
Relative Error:0.0016028559998156578
Log
PRISM
=====

Version: 4.5.dev
Date: Sat Mar 14 14:54:37 UTC 2020
Hostname: e72bdd194fc5
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -ii -e 5e-2 -heuristic speed -ddextraactionvars 100 -maxiters 1000000 polling.18.prism polling.props --property s1_before_s2 -const T=16

Parsing model file "polling.18.prism"...

Type:        CTMC
Modules:     server station1 station2 station3 station4 station5 station6 station7 station8 station9 station10 station11 station12 station13 station14 station15 station16 station17 station18 
Variables:   s a s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 

Parsing properties file "polling.props"...

5 properties:
(1) "s1": S=? [ s1=1&!(s=1&a=1) ]
(2) "s1_before_s2": P=? [ !(s=2&a=1) U (s=1&a=1) ]
(3) "served": R{"served"}=? [ C<=T ]
(4) "station1_polled": P=? [ F<=T (s=1&a=0) ]
(5) "waiting": R{"waiting"}=? [ C<=T ]

---------------------------------------------------------------------

Model checking: "s1_before_s2": P=? [ !(s=2&a=1) U (s=1&a=1) ]

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...

Computing reachable states...

Reachability (BFS): 37 iterations in 0.17 seconds (average 0.004622, setup 0.00)

Time for model construction: 0.098 seconds.

Type:        CTMC
States:      7077888 (1 initial)
Transitions: 69599232

Rate matrix: 2745 nodes (4 terminal), 69599232 minterms, vars: 24r/24c

Diagonals vector: 1540 nodes (38 terminal), 7077888 minterms
Embedded Markov chain: 17929 nodes (72 terminal), 69599232 minterms

Prob0: 36 iterations in 0.09 seconds (average 0.002361, setup 0.00)

Prob1: 35 iterations in 0.03 seconds (average 0.000714, setup 0.00)

yes = 3407872, no = 262144, maybe = 3407872

Computing remaining probabilities...
Engine: Sparse

Building sparse matrix... [n=7077888, nnz=35258368, compact] [141.3 MB]
Creating vector for diagonals... [dist=1, compact] [13.5 MB]
Creating vector for RHS... [dist=2, compact] [13.5 MB]
Allocating iteration vectors... [ 2 x 54.0 MB]
TOTAL: [276.3 MB]

Starting iterations...
Iteration 21: max relative diff=0.725781, 5.16 sec so far
Iteration 42: max relative diff=0.477707, 10.29 sec so far
Iteration 63: max relative diff=0.296655, 15.45 sec so far
Iteration 84: max relative diff=0.176925, 20.59 sec so far
Iteration 105: max relative diff=0.102824, 25.75 sec so far
Iteration 126: max relative diff=0.058829, 30.92 sec so far
Max relative diff between upper and lower bound on convergence: 0.048727
Backwards Gauss-Seidel (interval iteration): 133 iterations in 38.73 seconds (average 0.245398, setup 6.09)

Value in the initial state: 0.5381433111220242

Time for model checking: 38.883 seconds.

Result: 0.5381433111220242 (value in the initial state)


Overall running time: 39.596 seconds.

---------------------------------------------------------------------

Note: There was 1 warning during computation.